Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SafeTensorsInfo initialization #2190

Merged
merged 3 commits into from
Apr 3, 2024
Merged

Fix SafeTensorsInfo initialization #2190

merged 3 commits into from
Apr 3, 2024

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Apr 2, 2024

Fix #2186.

(failing CI is unrelated)

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Wauplin Wauplin mentioned this pull request Apr 2, 2024
@binhnq94
Copy link

binhnq94 commented Apr 2, 2024

How can I re-upload my model after a 24h training process die because of this bug?
I still have model folder in local.

@Wauplin
Copy link
Contributor Author

Wauplin commented Apr 2, 2024

How can I re-upload my model after a 24h training process die because of this bug?
I still have model folder in local.

You can use the huggingface-cli to do that!

# Move to local folder
cd /path/to/local/checkpoints

# Upload local folder to model repo
huggingface-cli upload <REPO_ID>

Copy link
Member

@Pierrci Pierrci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :)

@Wauplin
Copy link
Contributor Author

Wauplin commented Apr 3, 2024

Thanks for the review 🤗

@Wauplin Wauplin merged commit 3abb397 into main Apr 3, 2024
12 of 16 checks passed
@Wauplin Wauplin deleted the 2186-fix-safetensors-info branch April 3, 2024 06:26
Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ModelInfo bug
5 participants